'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router } = app;
  router.prefix("/api/")
  require("./routers/auth")(app);
  require("./routers/system")(app);
  require("./routers/resource")(app);
  require("./routers/ucenter")(app);
  require("./routers/baiduapi")(app);
  // require("./routers/fund")(app);
  // require("./routers/card")(app);
  // require("./routers/total")(app);
  // require("./routers/apply")(app);
};
